package com.anyou.mall.platform.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
* @Description: 关于我们DTO
* @author: ylj
* @date: 2022/3/22 15:59
*/
@Data
@ApiModel(value = "关于我们DTO")
public class AboutUsDTO implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "logo")
    @NotBlank(message = "logo不能为空")
    private String logo;

    @ApiModelProperty(value = "客服电话")
    @NotNull(message = "客服电话不能为空")
    private List<String> phone;

    @ApiModelProperty(value = "平台简介")
    @NotBlank(message = "平台简介不能为空")
    private String synopsis;
}
